<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>乐淘</title>
    <link rel="stylesheet" href="assets/mui/css/mui.min.css">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/cart.css">
    <script src="./assets/mui/js/mui.min.js"></script>
    <script src="./assets/artTemplate/template-web.js"></script>
    <script src="./assets/zepto/zepto.min.js"></script>
    <script src="./js/public.js"></script>
    <script src="./js/cart.js"></script>
</head>

<body>
    <!-- 头部 -->
    <header class="mui-bar mui-bar-nav my-header">
        <h1 class="mui-title">购物车</h1>
    </header>
    <!-- 底部导航栏 -->
    <nav class="mui-bar mui-bar-tab my-footer">
        <a class="mui-tab-item" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item mui-active" href="cart.html">
            <span class="mui-icon iconfont"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
    <!-- 中心内容 -->
    <div class="mui-content">
        <ul class="mui-table-view showCart">

        </ul>
    </div>
    <script type="text/template" id="showCart">
        {{each}}
        <li class="mui-table-view-cell mui-media">
            <div class="mui-slider-right mui-disabled">
                <span data-id="6" class="mui-btn mui-btn-blue editBtn">编辑</span>
                <span data-id="6" class="mui-btn mui-btn-red delBtn">删除</span>
            </div>
            <a href="javascript:;" class='mui-slider-handle'>
                <img class="mui-media-object mui-pull-left" src="{{$value.pic[0].picAddr}}">
                <div class="mui-media-body">
                    <div class='info-title'>{{$value.proName}}</div>
                    <div class="mui-input-row mui-checkbox mui-left infos">
                        <label>
                            <span class="newPrice">￥{{$value.price}}</span>
                            <span class="oldPrice"><del>￥{{$value.oldPrice}}</del></span>
                            <span class="size">尺码：{{$value.size}}</span>
                            <span class="num">数量：{{$value.num}}</span>
                        </label>
                        <input name="checkbox1" value="Item 1" type="checkbox">
                    </div>
                </div>
            </a>
        </li>
        {{/each}}
    </script>
</body>

</html>